//
//  NBTitleButton.m
//  qiFenQi
//
//  Created by 戒了。 on 16/4/15.
//  Copyright © 2016年 xiaomage. All rights reserved.
//

#import "NBTitleButton.h"

@implementation NBTitleButton

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        //设置按钮的初始状态
        self.titleLabel.font = [UIFont systemFontOfSize:16];
        [self setTitleColor:[UIColor darkGrayColor] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor whiteColor] forState:UIControlStateSelected];
    }
    return self;
}

/**
 *  不让按钮达到高亮状态
 */
- (void)setHighlighted:(BOOL)highlighted {};

@end
